package org.emample

object hanshu {
  def main(args: Array[String]): Unit = {
    var conut= (vla: Int)=>vla+1;
    var b=conut(10)
    print(b)
    var conuyt=(_:Int)+1;
    var c=conuyt(10)
    println(c)

    var more=10;
    var f=(_: Int)+more;
    var d=f(10)
    println(d)

    def sum(a: Int, b: Int, c: Int): Int = {
      a + b + c
    }
    var a=sum(1,_,_);
    var a1=a(2,3):{}
    println(a1)
    var sums=(_:Int)*(_:Int);
    var a3=sums(2,3);
    var b1=sums.curried;
    var a4=b1(2)(3);
    println(a3)
    println(a4)
  }
}
